package com.hry.store.cms.dao;

import com.hry.store.cms.pojo.TopCategory;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TopCategoryMapper {
    int deleteByPrimaryKey(Integer topCategoryId);

    int insert(TopCategory record);

    int insertSelective(TopCategory record);

    TopCategory selectByPrimaryKey(Integer topCategoryId);

    int updateByPrimaryKeySelective(TopCategory record);

    int updateByPrimaryKey(TopCategory record);

    List<TopCategory> selectAllTopCategory();

    List<TopCategory> getAll();
}